package com.yict.common.bean;

import java.util.HashMap;
import java.util.Map;

/**
 * 
 * @author Jay.Wu
 * 
 */
public class MailBean {
	/**
	 * 邮件模板名 必填
	 */
	private String mailTemplateName;

	/**
	 * 接收人的邮件
	 */
	private String[] recipients;

	/**
	 * 抄送人邮件
	 */
	private String[] ccRecipients;

	/**
	 * 发送人
	 */
	private String formAddress;

	/**
	 * 邮件标题
	 */
	private String title;

	/**
	 * 邮件内容
	 */
	private String content;

	/**
	 * 附加参数
	 */
	private Map<String, Object> paraMap;

	/**
	 * @return the mailTemplateName
	 */
	public String getMailTemplateName() {
		return mailTemplateName;
	}

	/**
	 * @param mailTemplateName
	 *            the mailTemplateName to set
	 */
	public void setMailTemplateName(String mailTemplateName) {
		this.mailTemplateName = mailTemplateName;
	}

	/**
	 * @return the recipients
	 */
	public String[] getRecipients() {
		return recipients;
	}

	/**
	 * @param recipients
	 *            the recipients to set
	 */
	public void setRecipients(String[] recipients) {
		this.recipients = recipients;
	}

	/**
	 * @return the ccRecipients
	 */
	public String[] getCcRecipients() {
		return ccRecipients;
	}

	/**
	 * @param ccRecipients
	 *            the ccRecipients to set
	 */
	public void setCcRecipients(String[] ccRecipients) {
		this.ccRecipients = ccRecipients;
	}

	/**
	 * @return the formAddress
	 */
	public String getFormAddress() {
		return formAddress;
	}

	/**
	 * @param formAddress
	 *            the formAddress to set
	 */
	public void setFormAddress(String formAddress) {
		this.formAddress = formAddress;
	}

	/**
	 * @return the paraMap
	 */
	public Map<String, Object> getParaMap() {
		if (paraMap == null) {
			paraMap = new HashMap<String, Object>();
		}
		return paraMap;
	}

	/**
	 * @param paraMap
	 *            the paraMap to set
	 */
	public void setParaMap(Map<String, Object> paraMap) {
		this.paraMap = paraMap;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

}
